const {fileObj}= require('./file.js');
const fs = require("fs");
const path=require('path')
const directory = path.resolve(__dirname, "../../") + "\\hiprintStorage";
let result=fs.existsSync(directory);// 同步判断目录是否存在
console.log(result)
const file1 = path.resolve(__dirname, "../../") + "\\hiprintStorage\\config.txt";
let result1=fs.existsSync(directory);// 同步判断文件是否存在
console.log(result1)